﻿using System.Collections.Generic;

namespace WebAPI.Utils
{

    /// <summary>
    /// 验证结果类
    /// </summary>
    public class ValidResult
    {
        public ValidResult()
        {
            ErrorMembers = new List<ErrorMember>();
        }
        /// <summary>
        /// 错误成员列表
        /// </summary>
        public List<ErrorMember> ErrorMembers { get; set; }
        /// <summary>
        /// 验证结果
        /// </summary>
        public bool IsVaild { get; set; }
    }
}